<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ include file="header.jsp" %>
<%@ page import="java.util.*" %>  
<%@page import="java.util.Enumeration"%><html>
<%@ page import="au.edu.unsw.editingtool.global.GlobalConstant" %>
<h2>Claim Preview</h2>

<Table border="1">
<th colspan=2>Formdata Info from Hashtable</th>
<%
	Hashtable<String,String> tb = (Hashtable<String,String>) session.getAttribute(GlobalConstant.requestFormData); 
	Enumeration<String> keys = tb.keys();
	while(keys.hasMoreElements())
	{
		String name = (String) keys.nextElement();
		Object sessionValue = tb.get(name);		
	%>
<TR><TD> <%=name %> </TD><TD> <%=tb.get(name) %></TD></TR>
<%    
    }
%>
</Table>
<Br>
<br>
		<table class="listing" width="70%" border="0">
		<tr><th><b>Continue or Return to Deposit Form</b></th></tr>
		<tr><td><i>To continue with this deposit, click 'confirm' below. If you wish to make changes, please click 'edit'.</i></td></tr>
		<tr>
			<td>
			<form method="post" action="/EditingTool/Main" class="review">
				<input type="submit"  value="Main">
				<input type="hidden" name="<%=GlobalConstant.requestCommand%>" value="Main">								
			</form>
			<form method="post" action="/EditingTool/Claim" class="review">				
				<input type="submit" name="submit" value="Confirm" onClick=""/> 	
				<input type="hidden" name="<%=GlobalConstant.requestCommand%>" value="<%=GlobalConstant.cmdClaimSubmit%>">
				<input type="hidden" name="<%=GlobalConstant.pid%>" value="<%=request.getAttribute(GlobalConstant.pid)%>">
			</form>
			</td>	
		</tr>
		</table>		

<%@ include file="footer.jsp" %>